﻿using Domain.Types;
using Infrastructure.AggregateBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Domain.Model
{
    /// <summary>
    /// 道具购买记录
    /// </summary>
    [Table("UserPropBuyLog")]
    public class UserPropBuyLogAggregate : AggregateRoot<UserPropBuyLogAggregate, int>
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public override int ID { get; set; }
        public PropType PropType { get; set; }
        public int Count { get; set; }
        public int PayMoney { get; set; }
        public int UserID { get; set; }

    }
}
